<script setup lang="ts">

</script>


<template>
    <div class="common-layout">
        <el-container>
            <el-header>欢迎您[Admin]</el-header>
            <el-container>
                <el-aside width="200px">

                    <el-menu default-active="1" class="el-menu-vertical-demo">
                        <el-menu-item index="1"> 
                            <router-link :to="{path:'/home/book'}"> 图书列表 </router-link>
                        </el-menu-item>
                        <el-menu-item index="2">
                            <span>新闻列表</span>
                        </el-menu-item>
                        <el-menu-item index="3">
                            <span>机房列表</span>
                        </el-menu-item>
                        <el-menu-item index="4">
                            <span>汽车列表</span>
                        </el-menu-item>
                    </el-menu>

                </el-aside>
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>


<style scoped></style>
